//
//@File    :	11.12_usetime3.cpp
//@Time    :	2021/08/30 13:25:27
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	using the fourth draft of the Time class
//

//complie usetime3.cpp and mytime3.cpp
#include <iostream>
#include "11.10_mytime3.h"

int main()
{
    using std::cout;
    using std::endl;
    Time aida(3,35);
    Time tosca(2,48);
    Time temp;

    cout<<"Aida and Tosca:\n";
    cout<<aida<<"; "<<tosca<<endl;
    temp=aida+tosca;
    cout<<"Aida+Tosca: "<<temp<<endl;
    temp=aida*1.17;
    cout<<"Aida * 1.17: "<<temp<<endl;
    cout<<"10.0*Tosca: "<<10.0*tosca<<endl;
    
    system("pause");
    return 0;
}